//
//  OASubscribelistDetailsVC.m
//  OA项目
//
//  Created by innofive on 2018/4/23.
//  Copyright © 2018年 inno. All rights reserved.
//

#import "OASubscribelistDetailsVC.h"
#import "OAAddressBookHeaderView.h"
#import "OAWebVC.h"
@interface OASubscribelistDetailsVC ()

@end

@implementation OASubscribelistDetailsVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Uncomment the following line to preserve selection between presentations.
    // self.clearsSelectionOnViewWillAppear = NO;
    
    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}

-(void)onLoadViewByWillAppear:(UITableView *)view
{
    view.backgroundColor = hexCOLOR(@"F1F1F1");
    view.separatorStyle = UITableViewCellSeparatorStyleNone;
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - Table view data source


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {

    return 1;
}
#pragma mark 点击方法
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    OAWebVC *vc =[OAWebVC new];
    vc.title = @"详情";
    vc.url = @"http://wwww.baidu.com";
    [self pushToVC:vc];
}


-(MCCellInfo *)tableView:(UITableView *)tableView cellForIndexPath:(NSIndexPath *)indexPath IsHeight:(BOOL)isheight
{
    return [MCCellInfo configForCellId:cell2 Class:[OAAddressBook4Cell class] Height:kFitH(340) TableView:tableView];
    
}

@end
